MPHB\TaxesAndFees\TaxesAndFees A

Total Complexity 61
Dependencies 1
Dependents 1
Total lines 309
Lines of code 172
Logical lines of code 101
Comment lines 69
Methods 21
Properties 10

Methods 21

Method Rating Maintainability Complexity Lines of code
setAtts()
A
51 17 23
calcFees()
A
46 11 38
calcTaxes()
A
48 9 33
setRoomType()
S
64 3 10
areTaxesAndFeesDefined()
S
71 3 6
hasTaxesAndFees()
S
78 2 3
afterSetupParams()
S
73 2 6
getPriceWithTaxesAndFees()
S
80 1 3
getAllFeesForRoom()
S
82 1 3
getAllTaxesForRoom()
S
82 1 3
hasExcludedTaxesAndFees()
S
80 1 3
hasIncludedTaxesAndFees()
S
80 1 3
__construct()
S
65 1 10
getExcludedTaxesAndFees()
S
82 1 3
getIncludedTaxesAndFees()
S
82 1 3
setDefined()
S
80 1 3
setupParams()
S
73 1 5
setRoomPrice()
S
81 1 3
setTaxesAndFees()
S
72 1 5
afterSetRoomType()
S
82 1 3
getAllFeeTaxesForRoom()
S
82 1 3